package com.animal.mapper;


import com.animal.entity.dto.AdoptDto;
import com.animal.entity.pojo.AAdopt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdoptMapper {
   /**
    * 添加领养信息
    * @param aadoptt
    * @return
    */
   int addAdopttAll(AAdopt aadoptt);

   /**
    * 查询信息
    * @param apply
    * @return
    */
   List<AdoptDto> getInfo(@Param("apply") Integer apply);

   /**
    * 审签流程
    * @return
    */
   int applyProcess(AAdopt aAdopt);
}
